package com.weic.pojo;


import lombok.Data;

import java.util.List;

/**
 * Dept
 */
@Data
public class Dept {

    private int deptno;

    private String dname;

    private String loc;

    private List<Emp> empList;

    public Dept() {
    }

    public Dept(int deptno, String dname, String loc) {
        this.deptno = deptno;
        this.dname = dname;
        this.loc = loc;
    }

    public Dept(int deptno, String dname, String loc, List<Emp> empList) {
        this.deptno = deptno;
        this.dname = dname;
        this.loc = loc;
        this.empList = empList;
    }
}
